@import '../../../../../assets/less/base/variables.less';
@import '../../../../../assets/less/base/newTabPageCommom.less';

.main-content {
  margin: 0 40px;
  margin-top: 20px;
  padding-bottom: 40px;
}

.feature-item {
  margin-bottom: 45px;
  &.last {
    .item-top {
      margin-left: 30px;
      display: flex;
      align-items: center;
      .unit {
        display: inline-block;
        margin-left: 10px;
      }
      .question-icon {
        font-size: 20px;
        color: @grey99;
        margin: 0 8px;
        cursor: pointer;
      }
    }
  }
  .item-top {
    margin-bottom: 20px;
    display: flex;
    .item-top-item {
      flex: 1;
    }
  }
  .form-box {
    width: 432px;
    border: 1px solid @grayD8;
    border-radius: 4px;
    background: @grayF2;
    padding: 20px;
  }
}

.edit-feature-form-box {
  margin-left: 25px;
  .el-form-item {
    margin-bottom: 16px;
    .el-form-item__label,
    .el-form-item__content {
      line-height: 32px;
    }
    .el-form-item__content {
      text-align: left;
      color: #333;
    }
    .el-form-item__label {
      padding-right: 10px;
    }
    &:last-child {
      margin-bottom: 0;
    }
  }
}

.tips-box {
  margin-left: 25px;
  font-size: 14px;
  color: @grey99;
  margin-top: 20px;
  .tips-item {
    margin-bottom: 8px;
    &:last-child {
      margin-bottom: 0;
    }
  }
}

.reasons-box {
  display: flex;
  margin-left: 30px;
  margin-top: 20px;
  .reasons-box-item {
    flex: 1;
  }
  .reasons-item {
    width: 100%;
    padding-right: 120px;
    .reason-cell-item {
      margin-bottom: 12px;
      position: relative;
      .reason-item {
        padding-top: 5px;
        padding-bottom: 5px;
        padding-left: 20px;
        padding-right: 50px;
        border: 1px solid @grayD8;
        border-radius: 4px;
        background: @grayF2;
      }
      &:last-child {
        margin-bottom: 0;
      }
      .del-icon {
        position: absolute;
        right: 0;
        top: 0;
        height: 100%;
        width: 44px;
        display: flex;
        justify-content: center;
        align-items: center;
        .el-icon-close {
          font-size: 16px;
          color: @grey66;
        }
      }
    }
  }
}

.parkingData-info {
  margin-left: 25px;
  margin-bottom: 12px;
  display: flex;
  width: 432px;
  .info-item {
    flex: 1;
    border: 1px solid @grayD8;
    border-radius: 4px;
    margin-right: 14px;
    text-align: center;
    padding: 10px 0 5px 0;
    position: relative;
    overflow: hidden;
    &:last-child {
      margin-right: 0;
    }
    &:after {
      content: '实时';
      position: absolute;
      right: -28px;
      top: 2px;
      transform: rotate(42deg);
      width: 80px;
      height: 22px;
      line-height: 22px;
      background: @lightGreen;
      color: #fff;
      text-align: center;
      font-size: 10px;
    }
    .info-top-title {
      font-size: 12px;
      color: @grey99;
      margin-bottom: 5px;
    }
    .data {
      color: @grey66;
      font-size: 24px;
    }
  }
}

.transform-license-plate {
  .top-action {
    margin-left: 25px;
    margin-top: 10px;
    display: flex;
    .el-input {
      width: 200px;
      margin-left: 10px;
    }
  }
  .transform-license-plate-bd {
    margin-left: 25px;
    margin-top: 10px;
    .el-form-item {
      margin-bottom: 0;
      padding-left: 12px;
    }
    .mid-bd {
      .el-form-item {
        margin-bottom: 0;
        display: flex;
        padding-left: 12px;
      }
    }
    .transform-item {
      margin-bottom: 10px;
      background: #f8f8f8;
      border-radius: 4px;
      height: 48px;
      display: flex;
      align-items: center;
      .left-bd {
        margin-right: 30px;
        .el-form-item .el-form-item__label {
          font-size: 12px;
        }
      }
      .mid-bd {
        flex: 1;
        display: flex;
        .mid-title {
          height: 48px;
          line-height: 48px;
          color: #474747;
          font-size: 12px;
        }
        .mid-mian-content {
          flex: 1;
          display: flex;
          align-items: center;
          .el-form-item {
            max-width: 130px;
          }
          .add-btn {
            display: inline-block;
            width: 30px;
            height: 30px;
            background: url('../../../../../assets/img/ic_subscribe_add copy.svg') no-repeat center center;
            background-size: 16px 16px;
            margin-left: 6px;
            &:hover {
              background: url('../../../../../assets/img/ic_subscribe_add.svg') no-repeat center center;
              background-size: 16px 16px;
            }
          }
        }
      }
      .del-icon {
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 5px;
        .el-icon-close {
          font-size: 16px;
          color: #666;
        }
        &:hover {
          .el-icon-close {
            font-size: 16px;
            color: #666;
            font-weight: bold;
          }
        }
      }
    }
  }
  .show-bar {
    font-size: 12px;
    color: #5995d8;
    margin-left: 25px;
    height: 35px;
    line-height: 35px;
    cursor: pointer;
    width: 120px;
    .el-icon-arrow-down {
      margin-right: 10px;
    }
  }

  .hide-bar {
    font-size: 12px;
    color: #5995d8;
    margin-left: 25px;
    height: 35px;
    line-height: 35px;
    width: 120px;
    cursor: pointer;
    .el-icon-arrow-up {
      margin-right: 10px;
    }
  }
}
